package tv.huan.media.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import tv.huan.common.annotation.Excel;
import tv.huan.common.core.domain.BaseEntity;

/**
 * 授权方对象 authorizer
 * 
 * @author admin
 * @date 2019-10-08
 */
public class Authorizer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键授权方id */
    private Long authorizerId;

    /** 全称 */
    @Excel(name = "全称")
    private String name;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    /** 商务引入 */
    @Excel(name = "商务引入")
    private String businessLeader;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setAuthorizerId(Long authorizerId) 
    {
        this.authorizerId = authorizerId;
    }

    public Long getAuthorizerId() 
    {
        return authorizerId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }
    public void setBusinessLeader(String businessLeader) 
    {
        this.businessLeader = businessLeader;
    }

    public String getBusinessLeader() 
    {
        return businessLeader;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("authorizerId", getAuthorizerId())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("businessLeader", getBusinessLeader())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
